package cn.training.bean;

import agriculture.common.validator.constraints.NotEmpty;

public class UserBean {
	@NotEmpty(field="用户ID",  message="{errors.required}")
	private String userId;
	@NotEmpty(field="用户姓名",  message="{errors.required}")
	private String userName;
	@NotEmpty(field="用户密码",  message="{errors.required}")
	private String userPassword;
	private String rePassword;
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	

	public String getRePassword() {
		return rePassword;
	}

	public void setRePassword(String rePassword) {
		this.rePassword = rePassword;
	}
	
}
